
import { RecmInfo, SummaryInfo } from "./ExecutePlan";
import { IMoneyStrategy } from "./IMoneyStrategy";
import { IRecmStrategy } from "./IRecmStrategy";

/**
 * 下面所有的方案
 */
export interface IPlan extends IRecmStrategy, IMoneyStrategy {
    originMultiple: number ;
    /**
     * 计划id
     */
    id: string;
    /**
     * 计划名称
     */
    planName: string;
    recmInfo: RecmInfo;
    userRecmInfo: RecmInfo;
    multiple: number;
    waterRate: number;
    fuliRate: number;
    baseMoney: number;
    recmStrategy: IRecmStrategy[];
    moneyStrategy: IMoneyStrategy[];
    resetPlan(): void;
    resetSummaryInfo: SummaryInfo | null;
    resetPlanSummaryInfo(): void;
    relationPindex: number[] | null;
    running: boolean;
    resetMoney?: number;
    bflag: boolean;
}
